import { UPDATEPAGECHOOSEJOBTYPES } from '../types/pagechoosejobtypes'
import { createAction } from 'redux-actions'
import { getIndustryCategoryRequest } from '../../../../service/user-archive-controller'

export const DOREQUESTCHOOSEJOBTYPES = payload => {
  return new Promise(resolve => {
    getIndustryCategoryRequest(payload).then(({ data }) => {
      resolve({
        datalist: (data && data.entry) || []
      })
    })
  })
}
